package Bean;

public class HttpLogin {
    /*
    登录
    http://login.hnust.cn:801/eportal/?
    c=Portal
    a=login
    callback=dr1004//回调方法
    login_method=1 //登录方式
    user_account=%2C1%2Cxxxxxxxxx%40telecom//账号
    user_password=xxxxxx//密码
    wlan_user_ip=10.157.230.223//登录ip
    wlan_user_ipv6=
    wlan_user_mac=000000000000
    wlan_ac_ip=
    wlan_ac_name=
    jsVersion=3.3.3//版本
    v=5823//4位随机数
    */

    String Loginip = "http://login.hnust.cn:801/eportal/?";
    String c = "Portal";
    String a = "login";
    String callback = "dr1004";
    String login_method = "1";
    String user_account = "";
    String user_password = "";
    String wlan_user_ip = "";
    String wlan_user_ipv6 = "";
    String wlan_user_mac = "000000000000";
    String wlan_ac_ip = "";
    String wlan_ac_name = "";
    String jsVersion = "4.0";
    String v = "0000";

    public String getlink() {
        String link =
                Loginip
                        + "c=" + c
                        + "&a=" + a
                        + "&callback=" + callback
                        + "&login_method=" + login_method
                        + "&user_account=" + user_account
                        + "&user_password=" + user_password
                        + "&wlan_user_ip=" + wlan_user_ip
                        + "&wlan_user_ipv6=" + wlan_user_ipv6
                        + "&wlan_user_mac=" + wlan_user_mac
                        + "&wlan_ac_ip=" + wlan_ac_ip
                        + "&wlan_ac_name=" + wlan_ac_name
                        + "&jsVersion=" + jsVersion
                        + "&v=" + v;
        return link;
    }

    public String getLoginip() {
        return Loginip;
    }

    public void setLoginip(String loginip) {
        Loginip = loginip;
    }

    public String getC() {
        return c;
    }

    public void setC(String c) {
        this.c = c;
    }

    public String getA() {
        return a;
    }

    public void setA(String a) {
        this.a = a;
    }

    public String getCallback() {
        return callback;
    }

    public void setCallback(String callback) {
        this.callback = callback;
    }

    public String getLogin_method() {
        return login_method;
    }

    public void setLogin_method(String login_method) {
        this.login_method = login_method;
    }

    public String getUser_account() {
        return user_account;
    }

    public void setUser_account(String user_account) {
        this.user_account = user_account;
    }

    public String getUser_password() {
        return user_password;
    }

    public void setUser_password(String user_password) {
        this.user_password = user_password;
    }

    public String getWlan_user_ip() {
        return wlan_user_ip;
    }

    public void setWlan_user_ip(String wlan_user_ip) {
        this.wlan_user_ip = wlan_user_ip;
    }

    public String getWlan_user_ipv6() {
        return wlan_user_ipv6;
    }

    public void setWlan_user_ipv6(String wlan_user_ipv6) {
        this.wlan_user_ipv6 = wlan_user_ipv6;
    }

    public String getWlan_user_mac() {
        return wlan_user_mac;
    }

    public void setWlan_user_mac(String wlan_user_mac) {
        this.wlan_user_mac = wlan_user_mac;
    }

    public String getWlan_ac_ip() {
        return wlan_ac_ip;
    }

    public void setWlan_ac_ip(String wlan_ac_ip) {
        this.wlan_ac_ip = wlan_ac_ip;
    }

    public String getWlan_ac_name() {
        return wlan_ac_name;
    }

    public void setWlan_ac_name(String wlan_ac_name) {
        this.wlan_ac_name = wlan_ac_name;
    }

    public String getJsVersion() {
        return jsVersion;
    }

    public void setJsVersion(String jsVersion) {
        this.jsVersion = jsVersion;
    }

    public String getV() {
        return v;
    }

    public void setV(String v) {
        this.v = v;
    }
}
